package com.aia.ann.web.json;

import org.apache.log4j.Logger;

import com.aia.ann.service.ChiefService;
import com.opensymphony.xwork2.ActionSupport;

public class CustomerTestDemopic03Json extends ActionSupport{

	private static final long serialVersionUID = 1L;
    
	private static final Logger logger = Logger.getLogger(CustomerTestDemopic03Json.class);
	
	private ChiefService chiefService;
	private String EID;
	public String execute(){
		if (logger.isDebugEnabled()) {
			logger.debug("execute() - start"); //$NON-NLS-1$
		}
		
		this.addActionMessage("First json action !");
		
		chiefService.testCustomerTestDemopic03Json(this);

		if (logger.isDebugEnabled()) {
			logger.debug("execute() - end"); //$NON-NLS-1$
		}
		return SUCCESS;
		
	}

	public void setChiefService(ChiefService chiefService) {
		this.chiefService = chiefService;
	}

	public ChiefService getChiefService() {
		return chiefService;
	}

	public void setEID(String eID) {
		EID = eID;
	}

	public String getEID() {
		return EID;
	}
}
